//
//  AddInfoView.m
//  test
//
//  Created by 朱圳 on 2018/1/15.
//  Copyright © 2018年 朱圳. All rights reserved.
//

#import "AddInfoView.h"
#import "ZZTextField.h"
@interface AddInfoView()<UITextFieldDelegate>

@end
@implementation AddInfoView{
    ZZTextField *name;
    ZZTextField *sex;
    ZZTextField *college;
    ZZTextField *jieshu;
    ZZTextField *goal;
    ZZTextField *qq;
    ZZTextField *weixin;
    ZZTextField *birthday;
    ZZTextField *mumphone;
    ZZTextField *dadphone;
    ZZTextField *bdcloud;
    ZZTextField *vnumber;
}


-(instancetype)initWithFrame:(CGRect)frame{
    if(self = [super initWithFrame:frame]){
        {
            [self setUI];
        }
    }
    return self;
}
-(void)setUI{
    
    UIImageView *registBgimg = [[UIImageView alloc]init];
    registBgimg.image = [UIImage imageNamed:@"login_bj"];
    registBgimg.userInteractionEnabled = YES;
    [self addSubview:registBgimg];
    [registBgimg mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(Navigation_Bar_Height+10);
        make.centerX.equalTo(self);
        make.left.mas_equalTo(15);
        make.bottom.mas_equalTo(-80);
    }];
    
    name = [[ZZTextField alloc]initWithFrame:CGRectMake(10,10, 260, 30)];
    name.ly_placeholder = @"XXX";
    name.tag = 0;
    name.nameLabel.text = @"姓名:";
    name.images.image = [UIImage imageNamed:@"teac-person-b1"];
    [registBgimg addSubview:name];
    
    sex = [[ZZTextField alloc]initWithFrame:CGRectMake(10, 55, 260, 30)];
    sex.ly_placeholder = @"男/女";
    sex.tag = 0;
    sex.nameLabel.text = @"性别";
    sex.images.image = [UIImage imageNamed:@"teac-person-b1"];
    [registBgimg addSubview:sex];
    
    [registBgimg addSubview:college];
    college.ly_placeholder = @"男/女";
    college.tag = 0;
    college.nameLabel.text = @"性别";
    college.images.image = [UIImage imageNamed:@"teac-person-b1"];
}
@end
